package io.lckgroup.modules.lck.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.lckgroup.common.utils.PageUtils;
import io.lckgroup.modules.lck.entity.CommonAdEntity;
import io.lckgroup.modules.lck.entity.ShopMerchantInfoEntity;
import io.lckgroup.modules.lck.form.ShopMerchantUserForm;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 商家信息表
 *
 * @author srq
 * @email siruiqi@siruiqi.com
 * @date 2020-01-19 19:14:38
 */
public interface ShopMerchantInfoService extends IService<ShopMerchantInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByShopMerchantInfoEntity(@RequestParam Map<String, Object> params);

    void saveUser(ShopMerchantUserForm shopMerchantUser);

    ShopMerchantInfoEntity getMerchantinfo(ShopMerchantInfoEntity merchantInfoEntity);

    void BatchDelete(@RequestBody Long[] ids);

    CommonAdEntity getAd();

    PageUtils getShopMerchantByCondition(Map<String, Object> params);

    Long[] selectMerchantInfoByMonth(@RequestParam Map<String, Object> params);

    PageUtils getShopMerchantByConditionAndSearch(Map<String, Object> params);

    List<ShopMerchantInfoEntity> getAllMerchantInfo();
}

